<template>
    <div id="basicLayout">
        <a-layout style="min-height: 100vh;">
            <a-layout-header class="header">
                <GlobalHeader></GlobalHeader>
            </a-layout-header>
            <a-layout-content class="content">
                <router-view></router-view>
            </a-layout-content>
            <a-layout-footer class="footer">
                <a href="https://www.codefather.cn" target="_blank">编程导航 by Zxs</a>
            </a-layout-footer>
        </a-layout>
    </div>
</template>
<script lang="ts" setup>
import router from '@/router';
import GlobalHeader from '@/components/GlobalHeader.vue';


</script>

<style scoped>
#basicLayout {
    .header {
        padding-inline: 20px;
        margin-bottom: 16px;
        color: unset;
        background: white;
    }

    .content {
        padding: 20px;
        background: linear-gradient(to right, #fefefe, #fff);
        margin-bottom: 20px;
    }

    .footer {
        background: #efefef;
        text-align: center;
        padding: 10px;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;

    }
}
</style>